<include file="Index/header" />
<body>
<form method="post" action="" id="listform">
  <div class="panel admin-panel">
    <div class="panel-head"><strong class="icon-reorder"> {$title}</strong> <a href="" style="float:right; display:none;">添加字段</a></div>
    <div class="padding border-bottom">
      <ul class="search" style="padding-left:10px;">
        <li> <a class="button border-main icon-plus-square-o" href="{:U('Role/role_add')}"> 角色添加</a> </li>
        <li>
          <input type="text" placeholder="请输入搜索关键字" name="keywords" class="input" style="width:250px; line-height:17px;display:inline-block" />
          <a href="javascript:void(0)" class="button border-main icon-search" onclick="changesearch()" > 搜索</a></li>
      </ul>
    </div>
      </div>
      </form>
      <form action="" method="post" name="jiao">
      <div class="Box">
          <div class="form-group">
              <div class="label">
                  <label>选择：</label>
              </div>
              <div class="field">
                  <select name="cid" class="input w50">
                      <option value="">请选择分类</option>

                  </select>
                  <div class="tips"></div>
              </div>
          </div>
      </div>

          <br><br>
          <center>
          <div class="field">
              <div class="button bg-main icon-check-square-o tijiao" style="cursor:pointer;"> 提交</div>
          </div></center>
</form>
<script type="text/javascript">

//搜索
function changesearch(){	
		
}

//单个删除
function del(id){
	if(confirm("您确定要删除吗?")){
        window.location.href="/Admin/Role/del/roleId/"+id;
	}
}

function edit(id){
    window.location.href="/Admin/Role/edit/roleId/"+id;
}
    $(".tijiao").click(function(){
        $("form[name='jiao']").submit();
    });
</script>
</body>
</html>